feat(stake): add --relay for MEV Shield outer signer on stake commands#918
feat(stake): add --relay for MEV Shield outer signer on stake commands#918claytonlin1110 wants to merge 1 commit intolatent-to:stagingfrom
Conversation
|
@thewhaleking Hi, my first contribution here, Would you please review and comment feedback? Thanks. |
|
@ibraheem-abe Sorry for pinging as i'm not sure who is the reviewer here... Thanks in advance. |
|
Hi @claytonlin1110 , Thanks for the contribution, but we're currently in the process of crafting BTCLI v10, so will not be adding any new features at this time. |
|
@thewhaleking Thanks for your comment. Would you please let me know ETA or review this PR? once finishing v10, we can merge I think. |
Sorry, I should've been more clear. V10 is going to be a total rewrite, so feature will be added during the creation process. You can close this PR. |
|
@thewhaleking May I rework this PR after V10 is released? |
The only thing stopping you would be the fact that this feature will be included in v10 already. |
Summary
Implements --relay for btcli stake add/remove/move/transfer/swap commands to allow a separate coldkey (“relay”) to sign the outer MevShield.submit_encrypted extrinsic, while the staking coldkey continues to sign the inner staking extrinsic.
Closes #824
Motivation
Some users need operational separation:
User-facing Changes
New CLI flag
--relay <wallet name | coldkey SS58>
Commands updated
Validation / Rules
If --relay is used with --no-mev-protection, the CLI fails with an error.
coldkey SS58: must match a coldkey present under that wallet path,
wallet name: must exist as a wallet directory under that wallet path.
Testing